Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Getting client.py to 100% coverage. #486

Merged
merged 2 commits into from
Apr 7, 2016

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Apr 7, 2016

In particular:

  • step1_get_device_and_user_codes
  • step2_exchange with device info
  • Making explicit the code= argument in calls to
    step2_exchange in tests
  • flow_from_clientsecrets branches with revoke and
    device URI optional args

NOTE: Has #485 as diffbase.

- `DeviceFlowInfo` (and using datetime now patch).
- Corner cases for `step1_get_authorize_url` and
  `step2_exchange`
- Failure cases for `flow_from_clientsecrets`
- `verify_id_token` when the cached HTTP is used (i.e.
  the default argument)
In particular:
- `step1_get_device_and_user_codes`
- `step2_exchange` with device info
- Making explicit the `code=` argument in calls to
  `step2_exchange` in tests
- `flow_from_clientsecrets` branches with revoke and
  device URI optional args
@dhermes
Copy link
Contributor Author

dhermes commented Apr 7, 2016

Woo hoo 100%!

@theacodes
Copy link
Contributor

LGTM.

@nathanielmanistaatgoogle
Copy link
Contributor

Looks great; merge.

@dhermes
Copy link
Contributor Author

dhermes commented Apr 7, 2016

Gonna merge this one, which will auto-merge #485.

@dhermes dhermes merged commit ef33f70 into googleapis:master Apr 7, 2016
@dhermes dhermes deleted the cover-client-v7 branch April 7, 2016 19:02
@theacodes theacodes mentioned this pull request Apr 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants